Strategic Candidates and Sacrificial Lambs?: An Exploration of Gender and Race in State Executive Elections

Kevin Fahey, Nicholas Pyeatt, Alixandra Yanus

Ubuntu 22.04.5 LTS
R 4.2.2 (2024-10-31) -- "Pile of Leaves"

# Packages for manuscript analysis (also available in Replication_Code.qmd)
library(foreign)
library(sandwich)
library(MASS)
library(tidyverse)
library(tidymodels)
library(stargazer)
library(knitr)
library(kableExtra)
library(haven)
library(xtable)
library(lme4)
library(corrplot)
library(ggmap)
library(sf)
library(ggpubr)
library(gridExtra)
library(Matching)
library(cspp)
library(urbnmapr)
library(modelsummary)
library(fixest)

Run time 157 seconds (manuscript)


(1) README.txt -- the readme file
(2) Codebook.pdf -- the Codebook associated with the variables in the dataset "Women Friendliness Dataset.csv"
(3) Women Friendliness Dataset.csv -- the dataset for the main manuscript
(4) unique women candidates.csv -- the dataset of each unique candidate and several attributes; can be constructed from Women Friendliness Dataset.csv
(5) Replication_Code.qmd -- a Quarto Markdown Document that reproduces the graphics and tables in the manuscript
(6) Replication_Code_Appendix.qmd -- a Quarto Markdown Document that reproduces the graphics and tables in the manuscript

All files are set up such that if you place them all in the same folder (no subfolders please) you can open Replication_Code.qmd and it will produce .png files for all graphics and a .docx file containing all graphics and tables. The same goes with Replication_Code_Appendix.qmd; indeed the runtime was obtained by doing this locally before submission.

Any questions please reach out to Kevin Fahey, the corresponding author, at kevin[dot]fahey[at]nottingham[dot]ac[dot]uk
